import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  View
} from 'react-native';
import SplashScreen from 'react-native-splash-screen';
import App from './app/routers/index';
// import Layout from "./app/layout/index"
export default class yuejianApp extends Component {
  componentDidMount() {
     SplashScreen.hide();//关闭启动屏幕
 }
  render() {
    return (
      <View style={styles.container}>
        <App />
      </View>
    );
  }
}
const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
});


AppRegistry.registerComponent('yuejianApp', () => yuejianApp);
